# import pymysql
import pymysql

conn = pymysql.connect(host="211.103.136.244", port=7061,
user="student", password="iHRM_student_2021",
database="test_db", charset="utf8")
cs=conn.cursor()
cs.execute("select version();")
result= cs.fetchone()
print('结果',result)
print("结果",result[0])